The stored procedure, when using the default connection, will get its connection properties passed from the caller. 使用默认连接时,存储过程从调用者那里获得它的连接属性。
The RPC server bundles up the results of the procedure and sends those results back to the caller. RPC服务器将过程的结果打包并将那些结果发送回调用者。
In the latter case, the procedure returns a successful execution status to the caller. 对于后一种情况,过程向调用者返回一个成功的执行状态。
In this scenario, the procedure completes successful execution and returns a return code of0 to the caller. 在这个场景中,过程成功执行并将0的返回码返回给调用者。
If the cursor is closed using the CLOSE statement before the return of the SQL procedure, the cursor result set will not be returned to the caller or client application. 如果在返回SQL过程之前使用CLOSE语句关闭游标,那么游标结果集就不会返回到调用者或客户机应用程序。
To avoid this scenario, use the RETURNS clause of the CREATE PROCEDURE statement to return data to the caller. 要避免这种情况,使用CREATEPROCEDURE语句的RETURNS子句来将数据返回给调用者。
Processing stops immediately when this statement is executed, and the procedure return code to the caller is the value of SQLERROR. 在执行该语句时处理将立即停止,而过程返回给调用者的代码是SQLERROR的值。
This procedure dumps all the collected trace data into a result set which it returns to the caller. 该过程将所有收集到的跟踪数据dump到一个结果集中,并将该结果集返回给调用者。
In this case, the procedure exits immediately and returns a failing status to the caller. 在这种情况下,过程会立即退出并向调用者返回一个错误状态。
When calling remote methods, transaction maker is in the blocked status before the calling procedure returns. The transaction proceeds after the caller procedure returns successfully. 当调用其它子模块的方法时,事务发起者在方法调用返回之前,一直处于阻塞状态,直到被调用者成功返回,事务才可以继续进行。